import React, {Component} from 'react'
import {BrowserRouter , Link} from 'react-router-dom'

import {rlStyle , refresh} from '../../../../config/style.js'


class SocialRmenu extends Component {

  render() {
    return (
        <div class="right-nav">
          <div class="rightNav-title">社区相关</div>
            <div class="menu">
              <BrowserRouter >
                <Link to="/social/list" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>帖子列表</div></Link>
                <Link to="/social/sort" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>帖子分类</div></Link>
                <Link to="/social/new" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>新建帖子</div></Link>
                <Link to="/social/remark" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>帖子评论</div></Link>
              </BrowserRouter >
          </div>
        </div>
    )
  }
}

export default SocialRmenu